package com.foreveross.fetl.vo;

import java.io.Serializable;

import com.foreveross.fetl.core.domain.task.SourceEntity;


public class SourceVO implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5684235094782425783L;

	private Long id;

	private String name;
	
	private String carrierKey;
	
	private String shortName;
	
	private String url;

	private String webTyle;

	private String hbaseKey;
	
	public SourceVO(){}
	
	public SourceVO(SourceEntity entity){
		this.id = entity.getId();
		this.name = entity.getName();
		this.carrierKey = entity.getCarrierKey();
		this.hbaseKey = entity.getHbaseKey();
		this.shortName = entity.getShortName();
		this.url = entity.getUrl();
		this.webTyle = entity.getWebTyle();
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCarrierKey() {
		return carrierKey;
	}

	public void setCarrierKey(String carrierKey) {
		this.carrierKey = carrierKey;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getWebTyle() {
		return webTyle;
	}

	public void setWebTyle(String webTyle) {
		this.webTyle = webTyle;
	}

	public String getHbaseKey() {
		return hbaseKey;
	}

	public void setHbaseKey(String hbaseKey) {
		this.hbaseKey = hbaseKey;
	}
	
	
}
